import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

// 创建一个div元素并添加到body中
const appContainer = document.createElement('div')
appContainer.id = 'juejin-title-reader-app'
// 设置样式确保应用悬浮在页面上
appContainer.style.position = 'fixed'
appContainer.style.top = '0'
appContainer.style.left = '0'
appContainer.style.zIndex = '99999'
document.body.appendChild(appContainer)

createApp(App).mount('#juejin-title-reader-app')
